domctl: don't allow certain operations on Dom0
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Sep 2008 14:20:25 +0000 (15:20 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Sep 2008 14:20:25 +0000 (15:20 +0100)
commit23f36ed6ff84de351caab8903b9909ec22e5d294
tree20be7ff0f5848964791e75c0dd2f3b07f7715c3a
parent2d4c3c5c9c2c4ebdd4c8b1de3807247f75904376
domctl: don't allow certain operations on Dom0

XEN_DOMCTL_setvcpucontext, XEN_DOMCTL_max_vcpus, and
XEN_DOMCTL_setdebugging don't seem to allow Dom0 as the subject domain
(based on the criteria that they pause that domain in order to do
their job).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/domctl.c